-
Home
-
Tutor LMS – eLearning and online course solution
-
3.0.0
-
Code
-
Classes
- DateTimeHelper
Total Complexity |
25 |
Dependencies |
5 |
Dependents |
3 |
Total lines |
238 |
Lines of code |
80 |
Logical lines of code |
33 |
Comment lines |
121 |
Methods |
17 |
Properties |
1 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format() |
S |
62 |
4 |
12 |
create() |
S |
66 |
3 |
8 |
get_gmt_to_user_timezone_date() |
S |
67 |
2 |
7 |
set_timezone() |
S |
72 |
2 |
5 |
get_readable_diff() |
S |
65 |
2 |
8 |
to_time_string() |
S |
79 |
1 |
3 |
to_date_string() |
S |
79 |
1 |
3 |
to_date_time_string() |
S |
79 |
1 |
3 |
to_timestamp() |
S |
81 |
1 |
3 |
instance() |
S |
80 |
1 |
3 |
get_timezone_string() |
S |
81 |
1 |
3 |
now() |
S |
73 |
1 |
5 |
is_future() |
S |
80 |
1 |
3 |
is_past() |
S |
80 |
1 |
3 |
sub() |
S |
75 |
1 |
4 |
add() |
S |
75 |
1 |
4 |
get_timezone() |
S |
81 |
1 |
3 |